Imaging using intraoral cameras